import { PaginationConfig } from '@/types';
import { Brand as BrandEntity } from '@/entity/Brand';

export interface CreateBrandRequest {
  name: string;
  // 市场参考价
  marketPrice: number;
  // 封面
  coverUrl: string;
}

export interface UpdateBrandRequest {
  // 修改名称
  name: string;
  // 市场参考价
  marketPrice: number;
  // 封面
  coverUrl: string;
}

export type GetBrandsRequest = Partial<Pick<BrandEntity, 'id' | 'name'>> &
  PaginationConfig;
